Yay_Currency\Helpers\YayCurrencyHelper D

Total Complexity 138
Dependencies 1
Dependents 63
Total lines 555
Lines of code 456
Logical lines of code 252
Comment lines 5
Methods 42
Properties 1

Methods 42

Method Rating Maintainability Complexity Lines of code
converted_currency()
A
46 10 33
get_currency_change_switcher()
A
52 10 22
format_currency_code_position()
S
54 7 23
format_sale_price()
S
58 7 14
get_formatted_total_by_convert_currency()
S
56 6 16
get_currency_by_ID()
S
49 5 28
round_price_by_currency()
S
54 5 21
format_currency_position()
S
58 5 18
set_cookies()
S
59 5 14
get_id_selected_currency()
S
61 5 12
get_currency_by_currency_code()
S
66 4 8
round_line_tax()
S
65 4 8
filter_payment_methods_by_currency()
S
59 3 15
format_price()
S
60 3 14
filtered_by_currency_code()
S
62 3 12
calculate_price_by_currency()
S
63 3 11
calculate_price_by_currency_html()
S
56 2 17
get_convert_currency_by_checkout_currency()
S
64 3 10
get_fallback_currency()
S
66 3 8
is_checkout_in_fallback()
S
68 3 6
reverse_calculate_price_by_currency()
S
63 3 10
get_symbol_by_currency()
S
66 3 8
get_current_currency_ID()
S
65 3 9
get_apply_currency()
S
62 3 10
disable_fallback_option_in_checkout_page()
S
68 3 6
is_dis_checkout_diff_currency()
S
70 3 6
get_apply_currency_format_info()
S
61 2 12
format_currency_symbol()
S
71 2 5
is_wc_json_products()
S
78 2 3
enable_rounding_currency()
S
78 2 3
calculate_price_by_currency_cookie()
S
65 2 9
get_rate_fee()
S
65 2 8
detect_current_currency()
S
64 2 10
get_symbol_by_currency_code()
S
69 2 6
get_fallback_currency_by_default()
S
72 1 5
converted_approximately_html()
S
74 1 4
get_current_and_fallback_currency()
S
65 1 9
calculate_custom_price_by_currency_html()
S
71 1 5
get_cookie_name()
S
80 1 3
get_values_for_total()
S
66 1 9
get_cart_subtotal_for_order()
S
73 1 5
__construct()
S
98 1 1